﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="PasswordChange.ascx.cs"
    Inherits="Workflow.Alerts.Sublayouts.ProfileSettings.PasswordChange" %>
<h2 class="settingsTitle">
    Wijzig wachtwoord</h2>
<div class="formcontainer changePasswordForm">
    <div id="OldPassword" runat="server" class="boxRow">
        <asp:Label ID="lblOldPassword" AssociatedControlID="txtOldPassword" runat="server"
            Text="Oud wachtwoord" CssClass="settingsLabel" />
        <asp:TextBox ID="txtOldPassword" runat="server" TextMode="Password" CssClass="styledInput styledInput564"></asp:TextBox>
        <asp:RequiredFieldValidator ID="rfvOldPassword" runat="server" ErrorMessage="Vul aub uw oude wachtwoord in."
            ControlToValidate="txtOldPassword" Display="Dynamic" CssClass="valMessage" />
        <asp:CustomValidator ID="cvOldPassword" runat="server" OnServerValidate="cvOldPassword_ServerValidate"
            ErrorMessage="Verkeerd wachtwoord." Display="Dynamic" CssClass="valMessage" />
        <div class="clear">
        </div>
    </div>
    <div id="NewPassword" runat="server" class="boxRow">
        <asp:Label ID="lblNewPassword" AssociatedControlID="txtNewPassword" runat="server"
            Text="Nieuw wachtwoord" CssClass="settingsLabel" />
        <asp:TextBox ID="txtNewPassword" runat="server" TextMode="Password" CssClass="tag_password password styledInput styledInput564"></asp:TextBox>
        <asp:RequiredFieldValidator ID="rfvNewPassword" runat="server" ErrorMessage="Vul aub het nieuwe wachtwoord in."
            ControlToValidate="txtNewPassword" Display="Dynamic" CssClass="valMessage" />
        <div class="clear">
        </div>
    </div>
    <div id="RNewPassword" runat="server" class="boxRow">
        <asp:Label ID="lblRNewPassword" AssociatedControlID="txtRNewPassword" runat="server"
            Text="Herhaal nieuw wachtwoord" CssClass="settingsLabel" />
        <asp:TextBox ID="txtRNewPassword" runat="server" TextMode="Password" CssClass="styledInput styledInput564"></asp:TextBox>
        <asp:RequiredFieldValidator ID="rfvRNewPassword" runat="server" ErrorMessage="Herhaal aub uw nieuwe wachtwoord."
            ControlToValidate="txtRNewPassword" Display="Dynamic" CssClass="valMessage"></asp:RequiredFieldValidator>
        <asp:CompareValidator ID="cvNewPassword" runat="server" ErrorMessage="Invoervelden voor nieuw wachtwoord komen niet overeen."
            ControlToValidate="txtRNewPassword" Operator="Equal" ControlToCompare="txtNewPassword"
            Display="Dynamic" CssClass="valMessage" />
        <div class="clear">
        </div>
    </div>
</div>
<div class="footerButtonContainer">
    <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="Opslaan" CssClass="styledButton styledButton75" />
</div>
<asp:Label ID="lblStatus" runat="server" Text="Label" Visible="false"></asp:Label>

<script type="text/javascript">
    jQuery(function() {
        jQuery('.tag_password').pstrength(
			{
			    displayMinChar: false,
			    minChar: 4,
			    scores: [10, 20, 30, 40],
			    colors: ["transparent", "transparent", "transparent", "transparent", "transparent"],
			    verdicts: ['Zwak', 'Redelijk', 'Goed', 'Sterk', 'Zeer sterk']
			}
		);
    });
</script>

